package xcmg.device.service.vo.sale;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import xcmg.device.infra.ErrorCode;

import java.util.List;

/**
 * Created by GYJ on 2018-01-11.
 */
public class SaleAddVO {
    private SaleIntentionVO headerInfo;
    private List<SaleIntentionDetailVO> materialList;
    private String  deleteReason;

    private ErrorCode ret;

    private List<SaleIntentionDetailVO> bakMaterialsList;

    public List<SaleIntentionDetailVO> getBakMaterialsList() {
        return bakMaterialsList;
    }

    public void setBakMaterialsList(List<SaleIntentionDetailVO> bakMaterialsList) {
        this.bakMaterialsList = bakMaterialsList;
    }

    public String getDeleteReason() {
        return deleteReason;
    }

    public void setDeleteReason(String deleteReason) {
        this.deleteReason = deleteReason;
    }

    public SaleIntentionVO getHeaderInfo() {
        return headerInfo;
    }

    public void setHeaderInfo(SaleIntentionVO headerInfo) {
        this.headerInfo = headerInfo;
    }

    public List<SaleIntentionDetailVO> getMaterialList() {
        return materialList;
    }

    public void setMaterialList(List<SaleIntentionDetailVO> materialList) {
        this.materialList = materialList;
    }

    public ErrorCode getRet() {
        return ret;
    }

    public void setRet(ErrorCode ret) {
        this.ret = ret;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
